.m-select {
    height: 34px;
    border-radius: 1px;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    min-width: 105px;
    height: 36px;
    border: 1px solid #eee;
    cursor: pointer;
}

.m-select:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -2px;
    border-top: 5px solid #666;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}

.m-select dt {
    height: 34px;
    line-height: 34px;
    border: 0;
    text-align: left;
    padding-left: 5px;
    font-weight: normal;
    cursor: pointer;
    border-radius: 1px;
    white-space: nowrap;
}

.m-select dt:empty:before {
    content: attr(placeholder);
    color: #B7B5B9;
}

.m-select dt:focus:before {
    content: none;
}

.m-select dd {
    width: 100%;
    overflow-y: auto;
    background: #fff;
    top: 34px;
    border-top: 1px solid #E3E3E3;
    border-bottom: 1px solid #E3E3E3;
    box-shadow: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.m-select dd.region {
    width: 450px;
    min-height: 150px;
    display: none;
    z-index: 9999;
    position: absolute;
    border: 1px solid #E6E6E6;
}

.region .tab {
    margin: 0;
    list-style: none;
    float: left;
    width: 400px;
    height: 26px;
    padding: 0px;
    width: 100%;
    background-color: #fafafa;
}

.region .tab-con {
    position: relative;
    background: rgb(255, 255, 255);
    margin-left: 10px;
    margin-right: 10px;
    border-top: 1px solid #E6E6E6;
    margin-top: 27px;
}

.region .tab li {
    float: left;
    height: 26px;
    line-height: 26px;
    padding: 0 20px;
    margin-right: 0px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
    width: 24%;
    text-align: center;
    border: 0px;
    border-right: 1px solid #E6E6E6;
    background-color: #ffffff;
    z-index: 999;
}

.region .tab li.on {
    cursor: default;
    position: relative;
    border: none;
    border-right: 1px solid #E3E3E3;
    cursor: default;
    background: #ffffff;
    color: inherit;
    z-index: 999;
}

.region .tab li:after {
    content: "∨";
    font-size: 12px;
    -webkit-transform-origin-x: 0;
    transform: scale(0.666666) !important;
    display: inline-block;
    font-weight: bold;
    margin-left: 5px;
    color: #A3A3A3;
}

.region .tab-group {
    right: 15px;
    float: right;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.region .tab-group .tab-btn {
    float: right;
    height: 26px;
    line-height: 26px;
    padding: 0 10px;
    font-size: 12px;
    min-width: 65px;
    border: 1px solid #e3e3e3;
    background-color: #fff;
    color: #555;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
    outline: 0;
    -webkit-appearance: none;
    transition: all .3s;
    -webkit-transition: all .3s;
    box-sizing: border-box;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    vertical-align: middle;
    margin-left: 5px;

    /*background-color: #51B7EC;*/
    /*color: #ffffff;
    border: none;
    border-radius: 2px;
    */
}

.region .tab-group .tab-btn:hover {
    opacity: 0.8;
}

.m-select dd.region a {
    margin-top: 1px;
    float: left;
    text-align: center;
    border: none;
    width: 100px;
    height: 32px;
    overflow: hidden;
    display: inline-block;
    text-indent: 0;
    font-size: 12px;
    line-height: 38px;
    text-decoration: none;
    color: #333;
}

.m-select dd.region a:hover {
    text-decoration: none;
    background: #eee;
}

/**兼容layui*/
.m-select.layui-input {
    padding-left: 0px;
}
